<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page   contentType="text/html;charset=UTF-8" language="java" %>
<%
	String path = request.getContextPath();
%>
<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<link rel="stylesheet" href="<%=path%>/css/Site.css" />
		<link rel="stylesheet" href="<%=path%>/css/zy.all.css" />
		<link rel="stylesheet" href="<%=path%>/css/font-awesome.min.css" />
		<link rel="stylesheet" href="<%=path%>/css/amazeui.min.css" />
		<link rel="stylesheet" href="<%=path%>/css/admin.css" />
	</head>

	<body>
		<div class="dvcontent">
			<div>
				<!--tab start-->
				<div class="tabs">
					<div class="hd">
						<ul>
							<li class="on" style="box-sizing: initial;-webkit-box-sizing: initial;">任课信息</li>
						</ul>
					</div>
					<div class="bd">
						<ul style="display: block;padding: 20px;">
							<li>
								<!--分页显示角色信息 start-->
								<div id="dv1">
									<p style="color:red;size: A3; text-align: center">${message}</p>
									<table class="table" id="tbRecord">
										<thead>
											<tr>
												<th>课程编号</th>
												<th>课程名称</th>
												<th>上课时间</th>
												<th>上课地点</th>
												<th>授课班级</th>
												<th>调课申请</th>
											</tr>
										</thead>
										<c:forEach items="${courseList}" var="course">
											<tbody>
											<tr>
												<td>${course.courseId}</td>
												<td>${course.courseName}</td>
												<td>${course.courseTime}</td>
												<td>${course.classroom}</td>
												<td>${course.classes.className}</td>
												<td>
													<a href="<%=path%>/t_teacher/getCourse?courseId=${course.courseId}">
														<span class="glyphicon glyphicon-edit" aria-hidden="true"><i class="icon-edit bigger-120"></i>调课申请</span>
													</a>
												</td>
											</tr>
											</tbody>
										</c:forEach>
									</table>
								</div>
								<!--分页显示角色信息 end-->
							</li>
						</ul>
						<ul class="theme-popbod dform" style="display: none;">
								<!-- content start -->

								<div class="am-cf admin-main" style="padding-top: 0px;">
									<!-- content start -->
									<div class="admin-content">
										<div class="admin-content-body">

											<div class="am-g">
												<div class="am-u-sm-12 am-u-md-4 am-u-md-push-8">

												</div>
												<div class="am-u-sm-12 am-u-md-8 am-u-md-pull-4" style="padding-top: 30px;">
													<form class="am-form am-form-horizontal" action="class.jsp">




														<div class="am-form-group">
															<label for="name" class="am-u-sm-3 am-form-label">
									                     课程编号</label>
															<div class="am-u-sm-9">
																<input type="text" id="name" required placeholder="课程编号" name="name">
																
															</div>
														</div>
														
														<div class="am-form-group">
																				<label for="name" class="am-u-sm-3 am-form-label">
														课程名称</label>
																				<div class="am-u-sm-9">
																					<input type="text" id="name" required placeholder="课程名称" name="name">
																					
																				</div>
																			</div>
														<div class="am-form-group">
															<label for="user-email" class="am-u-sm-3 am-form-label">
								                              上课时间</label>
															<div class="am-u-sm-9">
																<select name="groupId" required>
																	<option value="">周一1-2节</option>
																	<option value="">周一3-4节</option>
																	<option value="">周一5-6节</option>

																</select> 
															</div>
														</div>
														<div class="am-form-group">
															<label for="user-email" class="am-u-sm-3 am-form-label">
																上课地点</label>
																<div class="am-u-sm-9">
																	<select name="groupId" required>
																		<option value="">明远楼c110</option>
																		<option value="">明远楼c112</option>
																		<option value="">明远楼c114</option>
																		<option value="">明远楼c116</option>

																	</select> 																</div>
														</div>

														
														<div class="am-form-group">
															<div class="am-u-sm-9 am-u-sm-push-3">
																<input type="submit" class="am-btn am-btn-success" value="提交" />
															</div>
														</div>
													</form>
												</div>
											</div>
										</div>
										<footer class="admin-content-footer">
											<hr>
											<p class="am-padding-left"></p>
										</footer>
									</div>
									<!-- content end -->
								</div>
								<!--添加 end-->
						</ul>
						</div>
					</div>
					<!--tab end-->

				</div>

			</div>
	</body>

</html>